package com.meisupic.copyright.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * @Author lanjian
 * @Date 2018/4/7 下午6:08
 */
@Data
public class MessageVo implements Serializable{

  private Long id;

  private Long worksId;

  /**
   * 消息标题
   */
  private String title;

  /**
   * 消息内容
   */
  private String content;

  /**
   * 是否已读
   */
  private boolean readed;

  /**
   * 接收人id
   */
  private Long receiverId;

  /**
   * 创建时间
   */
  @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm")
  private Date createTime;
}
